/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wisnu.spms.source;

/**
 *
 * @author Wisnu Wardoyo
 */
public class App {

    private static Integer page;

    private App() {
    }

    public static void setPage(Integer page) {
        App.page = page;
    }

    public static Integer getPage() {
        return page;
    }

    public static App getInstance() {
        return PaginationHolder.INSTANCE;
    }

    private static class PaginationHolder {

        private static final App INSTANCE = new App();
    }
}
